package com.ruoyi.web.domain.mes;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 物料分类对象 mes_material_class
 * 
 * @author levicash
 * @date 2024-01-10
 */
@Data
public class MesMaterialClass extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Long id;

    /** 分类编码 */
    @Excel(name = "分类编码")
    private String code;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;

    /** 父级id */
    @Excel(name = "父级id")
    private Long pid;

    /** 状态 */
    @Excel(name = "状态", combo = {"启用", "停用"}, readConverterExp = "0=启用,1=停用")
    private Integer status;

}
